export const useLoading = () => {
  const isLoading = ref(false)

  const setLoading = () => {
    isLoading.value = true
    setTimeout(() => {
      isLoading.value = false
    }, 1000)
  }
  return {
    isLoading,
    setLoading,
  }
}
